#ifndef INET_PATIENTACCEPTOR_H
#define INET_PATIENTACCEPTOR_H

#include "InetAddress.h"
#include "Reactor.h"
#include "Handle.h"
#include "SocketAcceptor.h"
#include "EventHandler.h"
#include "PatientHandler.h"

class PatientAcceptor : public EventHandler
{
 public:
  PatientAcceptor(InetAddress &addr, Reactor * reactor);
  void handleEvent (Handle h, EventType et);
  Handle getHandle() const;
  
 private:
  SocketAcceptor acceptor_;
  Reactor * reactor_;
  
};

#endif


